package com.edu.dao;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.edu.entity.Product;

public class ProductDao extends HibernateDaoSupport {

	public void save(Product product){
		//自带的save方法
		this.getHibernateTemplate().save(product);
		System.out.println("执行dao中的save方法");
	}
}
